package com.brkj.httpInterface;

import com.brkj.model.DS_MyInfo;

public class HttpInterface {
		
//	public static final String WEB_ADDRESS = "http://118.192.9.79:7003/GZELearning/andorid/";
	public static  String WEB_ADDRESS = "http://118.192.9.79:7002/KMELearning/andorid/";


    public static class HIF_RegistNewAccount{
		public static  String address = WEB_ADDRESS + "AnUsers!checkUsers.do";
		
		public class params{
			public static final String UserName = "UserName";
			public static final String PWD = "PWD";
			public static final String UserAlias = "UserAlias";
			public static final String CardID = "CardID";
		}
		
		public class result{
			public static final String checUser = "checUser";
		}
		
	}
	
	public static class HIF_Login{
		public static final String address = WEB_ADDRESS + "AnUsers!loginUsers.do";
		
		public class params{
			public static final String UserName = "UserName";
			public static final String PWD = "PWD";
		}
		
		public class result{
			public int result;
			public int ifFirstLogin;
			public String reason;
			public DS_MyInfo userInfo;
			
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public int getIfFirstLogin() {
				return ifFirstLogin;
			}
			public void setIfFirstLogin(int ifFirstLogin) {
				this.ifFirstLogin = ifFirstLogin;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			public DS_MyInfo getUserInfo() {
				return userInfo;
			}
			public void setUserInfo(DS_MyInfo userInfo) {
				this.userInfo = userInfo;
			}
			
			
		}
		
	}
	

	public static class HIF_ConfirmUserInfo{
		public static final String address = WEB_ADDRESS + "AnUsers!createMUser.do";
		
		public class params{
			public static final String UserName = "UserName";
		}
		
		public class result{
			public  int result;
			public  String reason;
			
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
			
		}
		
	}
	
	public static class HIF_SubmitUserInfoError{
		public static final String address = WEB_ADDRESS + "AnUsers!createMUserFail.do";
		
		public class params{
			public static final String UserName = "UserName";
			public static final String PhoneNum = "PhoneNum";
		}
		
		public class result{
			public  int result;
			public  String reason;
			
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
			
		}
		
	}
	
	//找回密码
	public static class HIF_FindPassWord{
		public static final String address = WEB_ADDRESS + "AnUsers!createMUserPWD.do";
		
		public class params{
			public static final String UserName = "UserName";
			public static final String PhoneNum = "PhoneNum";
			public static final String Email = "Email";
		}
		
		public class result{
			public  int result;
			public  String reason;
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
			
		}
		
	}
	
	//获取课程分类列表
	public static class HIF_GetCourseClass{
		public static final String address = WEB_ADDRESS + "AnCourseWare!CWareTypes.do";
		
		public class params{
			public static final String CourseType = "CourseType";
		}
		
	}
	
	
	//获取课程
	public static class HIF_GetCourse{
		public static final String address = WEB_ADDRESS + "AnCourseWare!CWareInfo.do";
		
		public class params{
			public static final String CourseType = "CourseType";
			public static final String CourseClass = "CourseClassID";
			public static final String CourseID = "CourseID";
		}
		
	}
	
	//获取课程评论
	public static class HIF_GetCoumment{
		public static final String address = WEB_ADDRESS + "AnCourseWare!CWareCommentList.do";
		
		public class params{
			public static final String CourseID = "CourseID";
		}
		
		
	}
	
	//发表评论
	public static class HIF_SubmitComment{
		public static final String address = WEB_ADDRESS + "AnCourseWare!AddCWareComment.do";
		
		public class params{
			public static final String CourseID = "CourseID";
			public static final String UserID = "UserID";
			public static final String UserHeadImg = "UserHeadImg";
			public static final String CommentText = "CommentText";
		}
		
		public class result{
			public  int result;
			public  String reason;
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
		}
		
	}
	
	
	//获取知识库关键字
	public static class HIF_GetTag{
		public static final String address = WEB_ADDRESS + "AnCourseWare!KnowledgeTegs.do";
		
	}
	
	//根据关键字获取课程
	public static class HIF_GetCourseByTag{
		public static final String address = WEB_ADDRESS + "AnCourseWare!CWareInfoWithTag.do";
		
		public class params{
			public static final String Tag = "Tag";
			public static final String UserID = "UserID";
		}
	}
	
	//收藏课程
	public static class HIF_FavoriteCourse{
		public static final String address = WEB_ADDRESS + "AnCourseWare!CWareCollection.do";
		
		public class params{
			public static final String UserID = "UserID";
			public static final String CourseID = "CourseID";
		}
		
		public class result{
			public  int result;
			public  String reason;
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
		}
	}

	//取消收藏课程
	public static class HIF_DeleteFavoriteCourse{
		public static final String address = WEB_ADDRESS + "AnCourseWare!DeleteCWareCollection.do";
		
		public class params{
			public static final String UserID = "UserID";
			public static final String CourseID = "CourseID";
		}
		
		public class result{
			public  int result;
			public  String reason;
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
		}
	}
	
	//获取收藏课程
	public static class HIF_GetFavoriteCourse{
		public static final String address = WEB_ADDRESS + "AnCourseWare!CWareCollectionInfo.do";
		
		public class params{
			public static final String UserID = "UserID";
		}
	}
	
	//记录课程学习次数
	public static class HIF_RecodeCourseStudyTimes{
		public static final String address = WEB_ADDRESS + "AnCourseWare!AddCourseStudyTimes.do";
		
		public class params{
			public static final String UserID = "UserID";
			public static final String CourseStudyTimes = "CourseStudyJson";
		}
		
		public class result{
			public  int result;
			public  String reason;
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
		}
	}
	
	
	//记录课程学习时间
	public static class HIF_RecodeStudyTime{
		public static final String address = WEB_ADDRESS + "AnCourseWare!AddStudyTimes.do";
		
		public class params{
			public static final String UserID = "UserID";
			public static final String StudyTimeJson = "StudyTimeJson";
		}
		
		public class result{
			public  int result;
			public  String reason;
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
		}
	}
	
	//获取调查列表
	public static class HIF_GetVoteList{
		public static final String address = WEB_ADDRESS + "AnExamPaper!getPaperQuery.do";
		
		public class params{
			public static final String UserID = "UserID";
		}
		
	}
	
	//获取调查详情
	public static class HIF_GetVoteDetail{
		public static final String address = WEB_ADDRESS + "AnExamPaper!getPaperQueryInfo.do";
		
		public class params{
			public static final String VotePaperID = "VotePaperID";
		}
		
	}

	//提交调查结果
	public static class HIF_SubmitVote{
		public static final String address = WEB_ADDRESS + "AnExamPaper!PaperQueryLog.do";
		
		public class params{
			public static final String VotePaperID = "VotePaperID";
			public static final String AnswerJson = "AnswerJson";
		}
		
		public class result{
			public  int result;
			public  String reason;
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
		}
	}
	
	//获取题库学习列表
	public static class HIF_GetExamList{
		public static final String address = WEB_ADDRESS + "AnExamPaper!getTopicPaper.do";
		
		public class params{
			public static final String UserID = "UserID";
			public static final String tkname = "tkname";
			public static final String ExamPaperID = "ExamPaperID";
		}
		
	}
	
	//获取题库学习详情
	public static class HIF_GetExamDetail{
		public static final String address = WEB_ADDRESS + "AnExamPaper!getTopicPaperInfo.do";
		
		public class params{
			public static final String ExamPaperID = "ExamPaperID";
		}
		
	}
	
	//获取个人信息
	public static class HIF_GetPersnalInfo{
		public static final String address = WEB_ADDRESS + "AnUsers!getUsersInfo.do";
		
		public class params{
			public static final String UserID = "UserID";
		}
		

	}
	
	//修改个人信息
	public static class HIF_SetPersnalInfo{
		public static final String address = WEB_ADDRESS + "AnUsers!updateUsers.do";
		
		public class params{
			public static final String userID = "userID";
			public static final String name = "name";
			public static final String headUrl = "headUrl";
			public static final String gender = "gender";
			public static final String post = "post";
			public static final String department = "department";
		}
		
		public class result{
			public  int result;
			public  String reason;
			public int getResult() {
				return result;
			}
			public void setResult(int result) {
				this.result = result;
			}
			public String getReason() {
				return reason;
			}
			public void setReason(String reason) {
				this.reason = reason;
			}
			
		}
	}
	
	//检测更新
	public static class HIF_checkUpdate{
		public static final String address = WEB_ADDRESS + "AnCourseWare!getMobileVersionNum.do";
		
		public class params{
			public static final String VersionNum = "VersionNum";
			public static final String ApkName = "ApkName";
		}
		
		public class result{
			public  int IsLatest;
			public  String UpdateContent;
			public  String url;
			public int getIsLatest() {
				return IsLatest;
			}
			public void setIsLatest(int isLatest) {
				IsLatest = isLatest;
			}
			public String getUpdateContent() {
				return UpdateContent;
			}
			public void setUpdateContent(String updateContent) {
				UpdateContent = updateContent;
			}
			public String getUrl() {
				return url;
			}
			public void setUrl(String url) {
				this.url = url;
			}
			
		}
	}





    //第二版



    //获取全部课程
    public static class HIF_GetCourseAll{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getCWareListInfo.do";

        public class params{
            public static final String CourseID = "CourseID";
        }

    }


    //获取课程分类信息
    public static class HIF_GetCourseClassInfo{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getAllCWareInfo.do";


    }


    //获取专题学习列表
    public static class HIF_GetTopicStudy{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getSpecialList.do";

        public class params{
            public static final String UserID = "UserID";
        }

    }

    //获取我的专题学习列表
    public static class HIF_GetMyTopicStudy{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getSpecialListForUser.do";

        public class params{
            public static final String UserID = "UserID";
        }

    }

    //获取专题学习列表 根据专题id
    public static class HIF_GetTopicStudyByID{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getAnSpecialListForTypes.do";

        public class params{
            public static final String UserID = "UserID";
            public static final String ClassInfoID = "ClassInfoID";
        }

    }

    //加入专题学习
    public static class HIF_JoinTopicStudy{
        public static final String address = WEB_ADDRESS + "AnCourseWare!addUserForSpecial.do";

        public class params{
            public static final String UserID = "UserID";
            public static final String topicID = "topicID";
        }

        public class result{
            public  int result;
            public  String reason;
            public int getResult() {
                return result;
            }
            public void setResult(int result) {
                this.result = result;
            }
            public String getReason() {
                return reason;
            }
            public void setReason(String reason) {
                this.reason = reason;
            }

        }
    }

        //专题详情
    public static class HIF_GetTopicDetail{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getSpecialDetail.do";

        public class params{
            public static final String topicID = "topicID";
        }
    }

    //获取专题评论
    public static class HIF_GetTopicComment{
        public static final String address = WEB_ADDRESS + "AnCourseWare!AnSCommentList.do";

        public class params{
            public static final String topicID = "topicID";
        }
    }

    //发布专题评论
    public static class HIF_SubmitTopicComment{
        public static final String address = WEB_ADDRESS + "AnCourseWare!addAnSComment.do";

        public class params{
            public static final String topicID = "topicID";
            public static final String UserID = "UserID";
            public static final String UserHeadImg = "UserHeadImg";
            public static final String CommentText = "CommentText";
        }
    }


    //获取专题成员
    public static class HIF_GetTopicStudents{
        public static final String address = WEB_ADDRESS + "AnCourseWare!AnSpecialUser.do";

        public class params{
            public static final String topicID = "topicID";
        }
    }

    //获取体系分类信息
    public static class HIF_GetSystemStruct{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getAnSpecialTypes.do";

        public class params{
            public static final String UserID = "UserID";
        }
    }


    //获取推送课程
    public static class HIF_GetPushCourse{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getPushCWareListInfo.do";

        public class params{
            public static final String UserID = "UserID";
        }
    }

    //获取分类课程
    public static class HIF_GetClassCourse{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getClassCWareListInfo.do";

        public class params{
            public static final String CourseClassID = "CourseClassID";
            public static final String CourseID = "CourseID";
        }
    }

    //获取考试列表
    public static class HIF_GetRealExam{
        public static final String address = WEB_ADDRESS + "AnExamPaper!getExamPaperList.do";

        public class params{
            public static final String UserID = "UserID";
        }
    }

    //获取考试内容
    public static class HIF_GetRealExamDetail{
        public static final String address = WEB_ADDRESS + "AnExamPaper!getExamPaperInfo.do";

        public class params{
            public static final String ExamPaperID = "ExamPaperID";
        }
    }

    //获取考试内容
    public static class HIF_SubmitRealExamResult{
        public static final String address = WEB_ADDRESS + "AnExamPaper!ExamPaperResult.do";

        public class params{
            public static final String ExamPaperID = "ExamPaperID";
            public static final String AnswerJson = "AnswerJson";
        }
    }

    //发表问答
    public static class HIF_SubmitQuestion{
        public static final String address = WEB_ADDRESS + "AnMQuestion!addMQuestion.do";

        public class params{
            public static final String UserID = "UserID";
            public static final String Question = "Question";
        }
    }

    //获取所有问答列表
    public static class HIF_GetAllQA{
        public static final String address = WEB_ADDRESS + "AnMQuestion!getAllQuestion.do";

        public class params{
            public static final String UserID = "UserID";
            public static final String QuestionID = "QuestionID";
        }
    }

    //获取我的问答列表
    public static class HIF_GetMyQA{
        public static final String address = WEB_ADDRESS + "AnMQuestion!getUserQuestion.do";

        public class params{
            public static final String UserID = "UserID";
        }
    }

    //根据ID获取问答列表
    public static class HIF_GetQAbyID{
        public static final String address = WEB_ADDRESS + "AnMQuestion!getClassQuestion.do";

        public class params{
            public static final String ClassInfoID = "ClassInfoID";
        }
    }

    //根据ID获取问答的回答
    public static class HIF_GetQAAnswer{
        public static final String address = WEB_ADDRESS + "AnMQuestion!getQuestionTheAnswer.do";

        public class params{
            public static final String QuestionID = "QuestionID";
        }
    }

    //发布问答评论
    public static class HIF_SubmitQAComment{
        public static final String address = WEB_ADDRESS + "AnMQuestion!addMAnswer.do";

        public class params{
            public static final String QuestionID = "QuestionID";
            public static final String UserID = "UserID";
            public static final String CommentText = "CommentText";
        }
    }

       //选择最佳答案
    public static class HIF_SelectBestAnswer{
        public static final String address = WEB_ADDRESS + "AnMQuestion!MAnswerIsBest.do";

        public class params{
            public static final String QuestionID = "QuestionID";
            public static final String answerID = "answerID";
        }
    }
       //答案点赞
    public static class HIF_UpAnswer{
        public static final String address = WEB_ADDRESS + "AnMQuestion!MAnswerIsAgree.do";

        public class params{
            public static final String QuestionID = "QuestionID";
            public static final String answerID = "answerID";
        }
    }

        //获取系统公告
    public static class HIF_GetNotice{
        public static final String address = WEB_ADDRESS + "AnMQuestion!getNewNoticeList.do";

        public class params{
            public static final String UserID = "UserID";
            public static final String NoticeID = "NoticeID";
        }
    }

   //经验分享 上传图片
    public static class HIF_ExpSubmitImage{
        public static final String address = WEB_ADDRESS + "AnMQuestion!addImageFile.do";

        public class params{
            public static final String imageFIle = "imageFIle";
            public static final String fileName = "fileName";
        }
    }

    //经验分享 上传写的经验
    public static class HIF_WriteExpSubmit{
        public static final String address = WEB_ADDRESS + "AnMQuestion!WriteExperience.do";

        public class params{
            public static final String UserID = "UserID";
            public static final String Title = "Title";
            public static final String SystemID = "SystemID";
            public static final String Content = "Content";
        }
    }

        //修改密码
    public static class HIF_ChangePassword{
        public static final String address = WEB_ADDRESS + "AnUsers!updateUserPWD.do";

        public class params{
            public static final String UserID = "UserID";
            public static final String OldPassWord = "OldPassWord";
            public static final String NewPassWord = "NewPassWord";
        }
    }
        //搜索知识库   4种类型
    public static class HIF_SearchKnowledgeBase{
        public static final String address = WEB_ADDRESS + "AnMQuestion!getIndoForMQID.do";

        public class params{
            public static final String tag = "tag";
        }
    }

    //根据id获取课程内容
    public static class HIF_GetCourseByID{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getInfoForCWID.do";

        public class params{
            public static final String CourseID = "CourseID";
        }
    }

    //根据id获取问答内容
    public static class HIF_GetQAByContentID{
        public static final String address = WEB_ADDRESS + "AnCourseWare!getInfoForCWID.do";

        public class params{
            public static final String QuestionID = "QuestionID";
        }
    }


}
